# -*- coding: utf-8 -*-

# 控制器属性模板
CONTROL_ATTR_TEMPLATE = [
    {'name': '型号', 'code': 'control_model'},
    {'name': '出厂日期', 'code': 'control_out_fac_date'},
    {'name': '信号控制方式', 'code': 'conrol_signal_method'},
    {'name': '控制器型号', 'code': 'control_control_model'},
    {'name': '调速方式', 'code': 'control_speed_adjust'},
    {'name': '调整器型号', 'code': 'control_speed_adjust_model'},
    {'name': '额定功率', 'code': 'control_rated_power'},
    {'name': '额定电流', 'code': 'control_rated_current'},
    {'name': '继电器型号', 'code': 'control_relay_model'},
    {'name': '继电器个数', 'code': 'control_relay_count'},
    {'name': '保护器型号', 'code': 'control_spd_model'},
    {'name': '保护器个数', 'code': 'control_spd_count'},
]

# 曳引机属性模板
DRAG_ATTR_TEMPLATE = [
    {'name': '生产厂家', 'code': 'drag_manu_facturer'},
    {'name': '生产日期', 'code': 'drag_production_date'},
    {'name': '速比', 'code': 'drag_speed_ratio'},
    {'name': '连接', 'code': 'drag_connection'},
    {'name': '曳引马达型号', 'code': 'drag_connect_traction_motormodel'},
    {'name': '曳引马达电压', 'code': 'drag_traction_motor_voltage'},
    {'name': '曳引马达额定功率', 'code': 'drag_traction_motor_rated_power'},
    {'name': '曳引马达额定电流', 'code': 'drag_traction_motor_rated_current'},
    {'name': '曳引马达转速', 'code': 'drag_traction_motor_speed'},
    {'name': '风机马达型号', 'code': 'drag_fan_motor_model'},
    {'name': '风机马达电压', 'code': 'drag_fan_motor_voltage'},
    {'name': '风机马达额定功率', 'code': 'drag_fan_motor_rated_power'},
    {'name': '风机马达额定电流', 'code': 'drag_fan_motor_rated_current'},
    {'name': '制动器型号', 'code': 'drag_brake_model'},
    {'name': '制动器电压', 'code': 'drag_brake_voltage'},
    {'name': '旋转编码器型号', 'code': 'drag_rotary_encoder_model'},
    {'name': '孔径', 'code': 'drag_aperture'},
    {'name': '盘车轮形式', 'code': 'drag_disc_wheel_form'},
    {'name': '夹绳器', 'code': 'drag_clamps_rope'}
]

# 轿箱属性模板
SEDAN_ATTR_TEMPLATE = [
    {'name': '深', 'code': 'sedan_deep'},
    {'name': '宽', 'code': 'sedan_width'},
    {'name': '高', 'code': 'sedan_height'},
    {'name': '开关门形式', 'code': 'sedan_switch_the_door_form'},
    {'name': '开门距', 'code': 'sedan_open_the_door'},
    {'name': '开关门方式', 'code': 'sedan_switch_the_doorway'},
    {'name': '门机马达型号', 'code': 'sedan_door_machine_motor_model'},
    {'name': '门机马达额定功率', 'code': 'sedan_door_motor_rated_power'},
    {'name': '门机马达额定电流', 'code': 'sedan_door_motor_rated_current'},
    {'name': '门机马达电压', 'code': 'sedan_door_motor_voltage'},
    {'name': '门机变频器型号', 'code': 'sedan_door_machine_inverter_model'},
    {'name': '门机变频器额定功率', 'code': 'sedan_door_machine_inverter_rated_power'},
    {'name': '门机变频器额定电流', 'code': 'sedan_door_machine_inverter_rated_current'},
    {'name': '门机变频器电压', 'code': 'sedan_door_machine_inverter_voltage'},
    {'name': '门保护装置', 'code': 'sedan_door_guard'},
    {'name': '门保护装置型号', 'code': 'sedan_door_protection_device_model'},
    {'name': '关门限制力装置', 'code': 'sedan_closing_force_limit_device'},
    {'name': '轿顶安全窗', 'code': 'sedan_car_top_safety_window'},
    {'name': '轿顶安全窗开关型号', 'code': 'sedan_car_top_safety_window_switch_model'},
    {'name': '安全钳形式', 'code': 'sedan_safety_gear_form'},
    {'name': '安全钳开关型号', 'code': 'sedan_safety_gear_switch_model'},
    {'name': '靴衬型号', 'code': 'sedan_boot_liner_type'},
    {'name': '对重靴衬型号', 'code': 'sedan_counterweight_boot_liner_model'},
    {'name': '厅门宽', 'code': 'sedan_hall_wide_door'},
    {'name': '厅门高', 'code': 'sedan_hall_door_high'},
    {'name': '上坎形式', 'code': 'sedan_on_the_ridge_form'},
    {'name': '门滑块', 'code': 'sedan_door_slider'}
]

# 限速器属性模板
SPEED_LIMITER_ATTR_TEMPLATE = [
    {'name': '高度', 'code': 'speed_limiter_height'},
    {'name': '顶层高度', 'code': 'speed_limiter_top_height'},
    {'name': '坑底深度', 'code': 'speed_limiter_bottom_depth'},
    {'name': '提升高度', 'code': 'speed_limiter_raise_the_height'},
    {'name': '轿厢道轨形式', 'code': 'speed_limiter_car_track_rail_form'},
    {'name': '轿厢道轨宽', 'code': 'speed_limiter_car_track_width'},
    {'name': '轿厢道轨高', 'code': 'speed_limiter_car_track_height'},
    {'name': '轿厢道轨厚', 'code': 'speed_limiter_car_track_thickness'},
    {'name': '对重道轨形式', 'code': 'speed_limiter_counterweight_track_form'},
    {'name': '对重道轨宽', 'code': 'speed_limiter_right_heavy_track_width'},
    {'name': '对重道轨高', 'code': 'speed_limiter_high_track_height'},
    {'name': '对重道轨厚', 'code': 'speed_limiter_on_heavy_track_track_thickness'},
    {'name': '缓冲器形式', 'code': 'speed_limiter_buffer_form'},
    {'name': '轿厢缓冲距', 'code': 'speed_limiter_car_buffer_distance'},
    {'name': '轿厢缓冲器个数', 'code': 'speed_limiter_car_buffer_number'},
    {'name': '对重缓冲器个数', 'code': 'speed_limiter_counter_buffer_number'},
    {'name': '型号', 'code': 'speed_limiter_model'},
    {'name': '形式', 'code': 'speed_limiter_form'},
    {'name': '开关型号', 'code': 'speed_limiter_switch model'},
    {'name': '开关个数', 'code': 'speed_limiter_the_number_of_switches'},
    {'name': '对重铁块数', 'code': 'speed_limiter_the_number_of_heavy_iron_blocks'},
    {'name': '单块重', 'code': 'speed_limiter_single_weight'},
    {'name': '平层形式', 'code': 'speed_limiter_flat_form'}
]

# 轴承属性模板
BEARING_ATTR_TEMPLATE = [
    {'name': '绕法', 'code': 'bearing_Winding'},
    {'name': '根数', 'code': 'bearing_line_number'},
    {'name': '进口/国产', 'code': 'bearing_Imported_or_domestic'},
    {'name': '直径', 'code': 'bearing_diameter'},
    {'name': '单根长', 'code': 'bearing_Single_long'},
    {'name': '绳头形式', 'code': 'bearing_Rope_form'},
    {'name': '补尝形式', 'code': 'bearing_Taste_the_form'},
    {'name': '根数', 'code': 'bearing_line_number_two'},
    {'name': '门挂轮型号', 'code': 'bearing_Door_hanging_wheel_model'},
    {'name': '规格型号', 'code': 'bearing_Specification'},
    {'name': '单根长', 'code': 'bearing_Single_long_two'},
    {'name': '直径', 'code': 'bearing_diameter_two'}
]

# 其他属性模板
OTHER_ATTR_TEMPLATE = [
    {'name': '齿轮油型号', 'code': 'other_gear_oil_type'},
    {'name': '电动机油型号', 'code': 'other_motor_oil_type'},
    {'name': '液压缓冲器油型号', 'code': 'other_hydraulic_buffer_oil_type'},
    {'name': '道轨润滑油型号', 'code': 'other_road_rail_lubricant_model'},
    {'name': '随行电缆规格型号', 'code': 'other_accompanying_cable_specifications'},
    {'name': '电缆根数', 'code': 'other_number_of_cables'},
    {'name': '电缆悬挂方式', 'code': 'other_cable_suspension_method'},
    {'name': '电缆单根长度', 'code': 'other_single_cable_length'},
    {'name': '操作箱按钮型号', 'code': 'other_operation_box_button_model'},
    {'name': '厅外按钮型号', 'code': 'other_outside_the_hall_button_model'},
    {'name': '轿内层形式', 'code': 'other_car_inner_form'},
    {'name': '厅外层显形式', 'code': 'other_outside_the_hall_was_significant form'},
    {'name': '消防控制形式', 'code': 'other_fire_control_form'},
    {'name': '轿内通风', 'code': 'other_car_ventilation'},
    {'name': '监控器与轿厢对话', 'code': 'other_monitor_and_car_conversation'},
    {'name': '监控器对讲机型号', 'code': 'other_monitor_walkie_talkie_model'},
    {'name': '机房与轿厢对话', 'code': 'other_room_and_car_dialogue'},
    {'name': '机房对讲机型号', 'code': 'other_room_intercom_models'},
    {'name': '运行控制', 'code': 'other_operational_control'},
    {'name': '上行额度速度', 'code': 'other_upline_speed'},
    {'name': '下行额定速度', 'code': 'other_downlink_rated_speed'},
    {'name': '制动器型式', 'code': 'other_brake_type'},
    {'name': '满载', 'code': 'other_full_load'},
    {'name': '绝缘等级', 'code': 'other_insulation_level'},
    {'name': '驱动方式', 'code': 'other_drive_mode'},
    {'name': '开门方向', 'code': 'other_open_the_door_direction'}
]
